﻿using System;
using System.Configuration;
using System.ServiceModel;

namespace OJS.Hosting
{
    class Program
    {
        static void Main(string[] args)
        {
            // Demo hosting service qua Console
            ServiceHost host = new ServiceHost(typeof(OJS.Services.SubmitService));
            host.Open();
            Console.WriteLine("{0} - {1}", DateTime.Now, host.State);
            Console.ReadLine();
        }
    }
}
